require("../../assets/css/basic.less");
require("../../assets/css/normalize.css");
require("../../assets/css/property.css");
require("../../assets/css/reset.css");
require("../../assets/fonts/font-icon/iconfont.css");
require("../user_sports_badge/user_sports_badge.less");

//引入模块
const utils = require("../../libs/utils");
const axios = require("../../libs/axios.js");
const dom = require("../../libs/dom.js");

document.addEventListener("DOMContentLoaded", function () {
	const eleObj = {};
	//获取相关元素
	eleObj.mask = document.querySelector(".mask");
	eleObj.items = document.querySelectorAll(".badges-box .item");
	// 显示隐藏mask
	eleObj.items.forEach(function (dom) {
		dom.addEventListener("click", function () {
			// 显示
			eleObj.mask.style.display = "flex";
		});
	});
});
